Skip to content

Complete session transcript indexing and stale index warning#6

Merged
drompincen merged 1 commit intomainfrom
feature/claude-companion-features
Mar 29, 2026
Merged

Complete session transcript indexing and stale index warning#6
drompincen merged 1 commit intomainfrom
feature/claude-companion-features

Conversation

@drompincen
Copy link
Copy Markdown
Owner

Summary

  • Session Transcript Ch3: REST endpoints + 3 MCP tools for indexing and searching past Claude sessions
  • Session Transcript Ch4: Decision extraction/retrieval + 2 MCP tools + scripts/index-sessions.sh
  • Stale Index Warning Ch4: Staleness footers in javaducker_search and javaducker_summarize MCP responses

New MCP Tools

  • javaducker_index_sessions — index session transcripts from a project directory
  • javaducker_search_sessions — search past conversations by phrase
  • javaducker_session_context — combined session + artifact search for full historical context
  • javaducker_extract_decisions — store decisions extracted from sessions
  • javaducker_recent_decisions — retrieve recent decisions with optional tag filter

New REST Endpoints

  • POST /api/index-sessions, GET /api/sessions, GET /api/session/{id}, POST /api/search-sessions
  • POST /api/extract-session-decisions, GET /api/session-decisions

Test plan

  • 386 tests passing, 0 failures
  • Both plans marked completed (all chapters done)

🤖 Generated with Claude Code

Session Transcript Ch3: REST endpoints (index-sessions, sessions, session,
search-sessions) + 3 MCP tools (index_sessions, search_sessions,
session_context) + 7 integration tests.

Session Transcript Ch4: Decision extraction (store + retrieve with tag filter)
+ 2 MCP tools (extract_decisions, recent_decisions) + index-sessions.sh script
+ 3 tests.

Stale Index Warning Ch4: MCP search/summarize staleness footers with
JAVADUCKER_STALENESS_CHECK env toggle.

386 tests passing, 0 failures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@drompincen drompincen merged commit 758b4fb into main Mar 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant